<? 
$project_id = $_POST['project_id'];
if ($project_id == NULL)  {
	$project_id = $_GET['project_id'];
}

if ($project_id <> NULL)  {
	$query = "select * from projects where id = ".$project_id;
$projects_result = mysql_query($query);
if ( !$projects_result )
{
	echo ( "<P>Error doing a select: " . mysql_error() . "</P>" );
}
$nextresult = mysql_fetch_array($projects_result);
$project_tag = $nextresult['tag'];
$project_title = $nextresult['title'];
$project_background = $nextresult['background'];
$project_width = $nextresult['width'];
$project_height = $nextresult['height'];
$project_css = $nextresult['css'];
$project_markerIcon = $nextresult['markerIcon'];
$project_iwidth = $nextresult['iwidth'];
$project_iheight = $nextresult['iheight'];
} // top if

?>